-- GENERATED SPELL FOR [Stonegazer] --


function spell0_18648(pUnit, Event) --@Glare,n/a--
pUnit:FullCastSpellOnTarget(32905,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18648', 8000, 1)
end

function Sorts_18648(pUnit, Event)
local choix_sorts_18648 = math.random(0, 0)
if choix_sorts_18648 == 0 then
pUnit:RegisterEvent('spell0_18648', 1, 1)
end
end

function mob18648_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18648', math.random(1500, 3000), 1)
end

function mob18648_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18648_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18648_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18648, 1, 'mob18648_Action')
RegisterUnitEvent(18648, 2, 'mob18648_Leave')
RegisterUnitEvent(18648, 3, 'mob18648_Kill')
RegisterUnitEvent(18648, 4, 'mob18648_Die')
